package com.shujia.java.day8.demo4;

public class Dog extends Pet {
    public Dog() {
    }

    public Dog(String name, String sex,  String health, String love) {
        super(name, sex,  health, love);
    }

    @Override
    public void eat() {

    }

    @Override
    public void play() {

    }
    @Override
    public void print() {
        System.out.println("我的名字叫"+super.getName()+",我的健康值为"+super.getHealth()+
                ",我和主人的亲你度为"+super.getLove()+"我的性别为"+super.getSex());
    }
}
